import request from '@/utils/request'

// 查询引入评阅教师列表
export function listExamReview(query) {
  return request({
    url: '/exam/examReview/list',
    method: 'get',
    params: query
  })
}

// 查询引入评阅教师详细
export function getExamReview(id) {
  return request({
    url: '/exam/examReview/' + id,
    method: 'get'
  })
}

// 新增引入评阅教师
export function addExamReview(data) {
  return request({
    url: '/exam/examReview',
    method: 'post',
    data: data
  })
}

// 修改引入评阅教师
export function updateExamReview(data) {
  return request({
    url: '/exam/examReview/update',
    method: 'post',
    data: data
  })
}

// 删除引入评阅教师
export function delExamReview(id) {
  return request({
    url: '/exam/examReview/delete/' + id,
    method: 'post'
  })
}

// 导出引入评阅教师
export function exportExamReview(query) {
  return request({
    url: '/exam/examReview/export',
    method: 'get',
    params: query
  })
}

// 获取评阅老师列表
export function getTeacherExamList(id) {
  return request({
    url: '/exam/examReview/queryTeacher/' + id,
    method: 'get',
  })
}
